package com.zz.inventory.mapper;

import java.util.List;
import com.zz.inventory.domain.StudentExamRecords;

/**
 * 学生考试记录Mapper接口
 * 
 * @author ruoyi
 * @date 2025-07-03
 */
public interface StudentExamRecordsMapper 
{
    /**
     * 查询学生考试记录
     * 
     * @param recordId 学生考试记录主键
     * @return 学生考试记录
     */
    public StudentExamRecords selectStudentExamRecordsByRecordId(Long recordId);

    /**
     * 查询学生考试记录列表
     * 
     * @param studentExamRecords 学生考试记录
     * @return 学生考试记录集合
     */
    public List<StudentExamRecords> selectStudentExamRecordsList(StudentExamRecords studentExamRecords);

    /**
     * 新增学生考试记录
     * 
     * @param studentExamRecords 学生考试记录
     * @return 结果
     */
    public int insertStudentExamRecords(StudentExamRecords studentExamRecords);

    /**
     * 修改学生考试记录
     * 
     * @param studentExamRecords 学生考试记录
     * @return 结果
     */
    public int updateStudentExamRecords(StudentExamRecords studentExamRecords);

    /**
     * 删除学生考试记录
     * 
     * @param recordId 学生考试记录主键
     * @return 结果
     */
    public int deleteStudentExamRecordsByRecordId(Long recordId);

    /**
     * 批量删除学生考试记录
     * 
     * @param recordIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteStudentExamRecordsByRecordIds(Long[] recordIds);

    List<StudentExamRecords> selectByStudentId(Long studentId);

    int deleteByStudentId(Long studentId);
}
